<?

function __autoload($name) {
	$rootPath =  realpath(dirname(__FILE__).'/../').'/';
	$path = $rootPath.'includes/'.$name.'.php';
    if(!class_exists($name) && file_exists($path)) {
        require $path;
    } else {
    	error_log('Unable to load Class '.$name.' from '.$path.'.php',0);
    }
}

$nms = new phpNMS();


?>